<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColIntShippingGoodsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {    Schema::table('goods', function (Blueprint $table) {

        $table->integer('is_free_shipping')->default(0)->comment('是否包邮 0:不包邮 1：包邮')->after('classify_id');

    });

    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
